﻿using System;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;

namespace BCEntity.TMS.MoveHouseConfig.MoveHouseSpecificationConfigOverWrite
{
    /// <summary>
    ///  搬家规格重写
    /// </summary>
    [Table("movehousespecificationconfigoverwrite")]
    public class MoveHouseSpecificationConfigOverWriteEntity
    {
        [Key]
        [DatabaseGenerated(DatabaseGeneratedOption.Identity)]
        /// <summary>
        /// 搬家规格重写配置id
        /// </summary>
        public long MoveHouseSpecificationConfigOverWriteId { get; set; }
        /// <summary>
        /// 搬家规格配置id
        /// </summary>
        public long MoveHouseSpecificationConfigId { get; set; }
        /// <summary>
        /// 规格名称
        /// </summary>
        public string SpecificationName { get; set; }
        /// <summary>
        /// 规格拼音
        /// </summary>
        public string SpecificationPinYin { get; set; }
        /// <summary>
        /// 搬家配置id
        /// </summary>
        public long MoveHouseConfigId { get; set; }
        /// <summary>
        /// 搬家配置名字
        /// </summary>
        public string MoveHouseConfigName { get; set; }
        /// <summary>
        /// 父级搬家设置id
        /// </summary>
        public long ParentMoveHouseConfigId { get; set; }
        /// <summary>
        /// 父级搬家配置名称
        /// </summary>
        public string ParentMoveHouseConfigName { get; set; }
        /// <summary>
        /// 省编号
        /// </summary>
        public string ProvinceCode { get; set; }
        /// <summary>
        /// 市编号
        /// </summary>
        public string CityCode { get; set; }
        /// <summary>
        /// 区编号
        /// </summary>
        public string CountyCode { get; set; }
        /// <summary>
        /// 代理商id
        /// </summary>
        public long AgentRecordId { get; set; }
        /// <summary>
        /// 价格
        /// </summary>
        public decimal? Price { get; set; }
        /// <summary>
        /// 备注
        /// </summary>
        public string Remark { get; set; }
        /// <summary>
        /// 已启用
        /// </summary>
        public bool Enabled { get; set; }
        /// <summary>
        /// 创建人Id
        /// </summary>
        public long CreateAdminId { get; set; }
        /// <summary>
        /// 创建人
        /// </summary>
        public string CreateAdminName { get; set; }
        /// <summary>
        /// 创建时间
        /// </summary>
        public DateTime CreateTime { get; set; }
        /// <summary>
        /// 修改时间
        /// </summary>
        public DateTime UpdateTime { get; set; }
        /// <summary>
        /// 修改人Id
        /// </summary>
        public long? EditAdminId { get; set; }
        /// <summary>
        /// 修改人
        /// </summary>
        public string EditAdminName { get; set; }

    }
}
